package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.model.knowledge.TeachaidPrivilege;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeachaidPrivilegeDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByTeachaidId(Integer teachaidId);

    int insert(TeachaidPrivilege record);

    int insertSelective(TeachaidPrivilege record);

    TeachaidPrivilege selectByPrimaryKey(Integer id);

    List<TeachaidPrivilege> selectByTeachaidId(Integer teachaidId);

    int updateByPrimaryKeySelective(TeachaidPrivilege record);

    int updateByPrimaryKey(TeachaidPrivilege record);

    List<TeachaidPrivilege> selectByParam(@Param("roleId") Integer roleId, @Param("menuId") Integer menuId);
}